From: Georges Basile Stavracas Neto Date: Tue, 14 Jun 2022 19:58:19 +0000 (-0300) Subject: appDisplay: Make page previews fill allocation X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~461^2^2~68 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=3281c03aeaf5e0a34527d8d48de7ced45ada95de;p=gnome-shell.git appDisplay: Make page previews fill allocation Instead of hardcoding the width of the page previous, allow them to fill the allocated space. Part-of: --- diff --git a/data/theme/gnome-shell-sass/widgets/_app-grid.scss b/data/theme/gnome-shell-sass/widgets/_app-grid.scss index 91cf023f1..0fcf62edd 100644 --- a/data/theme/gnome-shell-sass/widgets/_app-grid.scss +++ b/data/theme/gnome-shell-sass/widgets/_app-grid.scss @@ -125,8 +125,6 @@ $app_icon_size: 96px; } .page-navigation-hint { - width: 300px; - &.dnd { background: rgba(255, 255, 255, 0.1); } diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index f3134d94a..cb90ffa61 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -461,7 +461,7 @@ var BaseAppView = GObject.registerClass({ reactive: false, x_expand: true, y_expand: true, - x_align: Clutter.ActorAlign.END, + x_align: Clutter.ActorAlign.FILL, y_align: Clutter.ActorAlign.FILL, }); @@ -472,7 +472,7 @@ var BaseAppView = GObject.registerClass({ reactive: false, x_expand: true, y_expand: true, - x_align: Clutter.ActorAlign.START, + x_align: Clutter.ActorAlign.FILL, y_align: Clutter.ActorAlign.FILL, });